var status = -1;

function start(d, c, b) {
    status++;
    var a = -1;
    if (status <= a++) {
        qm.dispose()
    } else {
        if (status === a++) {
            qm.updateInfoQuest(30010, "");
            qm.forceStartQuest();
            qm.dispose()
        } else {
            qm.dispose()
        }
    }
}

function end(d, c, b) {
    status++;
    var a = -1;
    if (status <= a++) {
        qm.dispose()
    } else {
        if (status === a++) {
            qm.forceCompleteQuest();
            qm.dispose()
        } else {
            qm.dispose()
        }
    }
};